Part Number Hot Search : 
CMLD2004 BUL310PI ELM407P 100N10 16582 93C66AEO NJM3403 13NK60
Product Description
Full Text Search
 

To Download CS4294-JQ Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  preliminary product information this document contains information for a new product. cirrus logic reserves the right to modify this product without notice. 1 copyright ? cirrus logic, inc. 2000 (all rights reserved) p.o. box 17847, austin, texas 78760 (512) 445 7222 fax: (512) 445 7581 http://www.cirrus.com features  ac ?97 2.0 compatible  20-bit quad output and 18-bit dual stereo input codec with fixed 48 khz sampling rate  dedicated adc for enhanced digital docking  three analog line-level stereo inputs for connec- tion from line in, cd, and aux  high quality pseudo-differential cd input  dual stereo line level output with independent 6- bit volume control  6 general purpose i/o pins  meets or exceeds microsoft's ? pc 98 and pc 99 audio performance requirements  crystalclear ? stereo enhancement description the cs4294 is an ac ?97 compatible audio codec designed for pc multimedia systems. using the in- dustry leading crystalclear? delta-sigma and mixed signal technology, the cs4294 is ideal for pc 98-compliant desktop, notebook, and enter- tainment pcs, where high-quality audio features are required. the cs4294 offers four channels of d/a and a/d conversion along with analog mixing and stereo enhancement processing. for multi- channel audio systems, the cs4294 can provide four audio channels. the cs4294 provides an en- hanced digital docking mode for portable applications by providing a dedicated adc capture path from the analog input mixer. ordering information cs4294- kq 48-pin tqfp 9x9x1.4mm cs4294 -jq 48-pin tqfp 9x9x1.4mm vol mute mute mute mute vol vol vol +20db dac 3d stereo to mono mixer vol vol output buffer output buffer master volume alternate volume main d/a converters pcm_out pcm out path stereo input mixer stereo output mixer mic1 aux cd line mode control sync sdata_out mute vol adc input mux vol mute adc main adc gain adc dac reset# alt_line_out line_out gpio bit_clk sdata_in ac-link interface 2 / 2 / 2 / 2 / 2 / 2 / 2 / 6 / 3 / 2 / soundfusion ? audio/docking codec ? 97 (amc ? 97) cs4294 feb ? 00 ds326pp4
cs4294 2 ds326pp4 table of contents 1. characteristics and specifications ........................................................................ 5 audio analog characteristics.................................................................................... 5 absolute maximum ratings ........................................................................................... 6 recommended operating conditions ....................................................................... 6 mixer characteristics.................................................................................................... 6 digital characteristics ................................................................................................. 6 serial port timing............................................................................................................. 7 2. general description ..................................................................................................... 10 2.1 overview .................................................................................................................. ........ 10 2.2 modes of operation ........................................................................................................ .10 2.2.1 mode 0 ................................................................................................................ 10 2.2.2 mode 1 ................................................................................................................ 10 3. digital section ........................................................................................................... ...... 10 3.1 ac-link ................................................................................................................... ......... 10 3.2 control registers ......................................................................................................... ...... 11 4. analog section ............................................................................................................ .... 11 4.1 audio output mixer ........................................................................................................ .. 12 4.2 audio input mux ........................................................................................................... .... 12 4.3 audio input mixer ......................................................................................................... .... 12 4.4 audio volume control ...................................................................................................... 12 5. ac ? 97 ............................................................................................................................ ......... 12 5.1 ac ? 97 frame definition ................................................................................................... 12 5.2 ac-link serial data output frame .................................................................................. 12 5.3 ac-link audio output frame ........................................................................................... 13 5.3.1 serial data output slot tags (slot 0)................................................................... 13 5.3.2 register address (slot 1) ..................................................................................... 13 5.3.3 register write data (slot 2) ................................................................................. 14 5.3.4 playback data (slots 3-11) .................................................................................. 14 5.3.5 gpio data (slot12) .............................................................................................. 14 5.4 ac-link audio input frame .............................................................................................. 14 5.4.1 serial data input slot tag bits (slot 0) ............................................................... 14 5.4.2 read-back address port (slot 1) ......................................................................... 15 5.4.3 read-back data port (slot 2)............................................................................... 15 5.4.4 pcm capture data (slot 3-11) ............................................................................. 15 5.4.5 gpio pin status (slot 12) .................................................................................... 15 contacting cirrus logic support for a complete listing of direct sales, distributor, and sales representative contacts, visit the cirrus logic web site at: http://www.cirrus.com/corporate/contacts/ crystalclear is a trademark of cirrus logic, inc. soundfusion is a registered trademark of cirrus logic, inc. preliminary product information describes products which are in production, but for which full characterization data is not yet available. advance prod- uct information describes products which are in development and subject to development changes. cirrus logic, inc. has made bes t efforts to ensure that the information contained in this document is accurate and reliable. however, the information is subject to change without notice and is provided ? as is ? without warranty of any kind (express or implied). no responsibility is assumed by cirrus logic, inc. for the use of this info rmation, nor for infringements of patents or other rights of third parties. this document is the property of cirrus logic, inc. and implies no l icense under patents, copy- rights, trademarks, or trade secrets. no part of this publication may be copied, reproduced, stored in a retrieval system, or t ransmitted, in any form or by any means (electronic, mechanical, photographic, or otherwise) without the prior written consent of cirrus logic, inc. it ems from any cirrus logic webbiest or disk may be printed for use by the user. however, no part of the printout or electronic files may be copied, reproduced, stored in a retrieval system, or transmitted, in any form or by any means (electronic, mechanical, photographic, or otherwise) without the prior written consent of cirrus logic, inc.furthermore, no part of this publication may be used as a basis for manufacture or sale of any items witho ut the prior written consent of cirrus logic, inc. the names of products of cirrus logic, inc. or other vendors and suppliers appearing in this docu ment may be trade- marks or service marks of their respective owners which may be registered in some jurisdictions. a list of cirrus logic, inc. t rademarks and service
cs4294 ds326pp4 3 5.5 ac ? 97 reset modes ........................................................................................................ 15 5.5.1 cold ac ? 97 reset .............................................................................................. 15 5.5.2 warm ac ? 97 reset ............................................................................................ 15 5.5.3 ac ? 97 register reset ........................................................................................ 16 5.6 ac-link protocol violation - loss of sync ..................................................................... 16 6. register interface ........................................................................................................ 17 6.1 register descriptions ..................................................................................................... .18 6.1.1 reset (index 00h) ............................................................................................... 18 6.1.2 master volume (index 02h) ................................................................................. 18 6.1.3 alternate volume (index 04h) ............................................................................. 19 6.1.4 microphone volume (index 0eh) ......................................................................... 19 6.1.5 stereo analog mixer input gain (index ? s 10h - 12h, 16h - 18h)........................... 20 6.1.6 input mux select (index 1ah)............................................................................... 20 6.1.7 record gain (index 1ch) ..................................................................................... 21 6.1.8 general purpose (index 20h)............................................................................... 21 6.1.9 stereo enhancement control (index 22h) ........................................................... 21 6.1.10 power down control/status (index 26h)............................................................ 22 6.1.11 extended audio id (index 28h) ......................................................................... 23 6.1.12 extended audio status/control (index 2ah) ..................................................... 23 6.1.13 pcm front dac rate (index 2ch) .................................................................. 23 6.1.14 pcm surround dac rate (index 2eh) ........................................................... 23 6.1.15 pcm lfe dac rate (index 30h) .................................................................... 24 6.1.16 pcm lr adc rate (index 32h) ......................................................................... 24 6.1.17 center lfe volume (index 36h) ........................................................................ 24 6.1.18 lr surround volume (index 38h) ...................................................................... 24 6.1.19 extended codec id (index 3ch) ....................................................................... 25 6.1.20 extended codec status/control (index 3eh) .................................................... 25 6.1.21 extended audio dac1/adc1 rate (index 40h)................................................. 26 6.1.22 extended audio dac2/adc2 (index 44h) ......................................................... 26 6.1.23 extended audio dac1/adc1 level (index 46h)................................................ 26 6.1.24 extended audiodac2/adc2 level (index 4ah) ................................................ 26 6.1.25 gpio pin configuration (index 4ch).................................................................. 27 6.1.26 gpio pin polarity/type configuration (index 4eh)............................................ 27 6.1.27 gpio pin sticky (index 50h) .............................................................................. 27 6.1.28 gpio pin wakeup mask (index 4ch) ............................................................... 28 6.1.29 gpio pin status (index 54h) ............................................................................. 28 6.1.30 ac mode control (index 5eh)............................................................................ 28 6.1.31 vendor id1 (index 7ch) ..................................................................................... 29 6.1.32 vendor id2 (index 7eh) ..................................................................................... 29 7. analog hardware description ................................................................................. 30 7.1 line-level inputs ......................................................................................................... .... 30 7.2 microphone level inputs ................................................................................................. 30 7.3 line level outputs ........................................................................................................ ... 31 7.4 miscellaneous analog signals ......................................................................................... 31 7.5 power supplies ............................................................................................................ .... 32 8. pin descriptions .......................................................................................................... .... 33 8.1 digital i/o pins .......................................................................................................... ....... 33 8.2 analog i/o pins ........................................................................................................... ..... 35 8.3 filter and reference pins ................................................................................................ 3 6 8.4 power supplies ............................................................................................................ .... 37 9. parameter and term definitions .............................................................................. 38 10. references ............................................................................................................... ....... 39 11. package dimensions .................................................................................................... 40
cs4294 4 ds326pp4 list of figures figure 1. power up timing...................................................................................................... ........ 8 figure 2. clocks ............................................................................................................... ............... 8 figure 3. codec ready from startup or fault condition ................................................................. 8 figure 4. data setup and hold.................................................................................................. ...... 9 figure 5. pr4 powerdown ........................................................................................................ ...... 9 figure 6. test mode ............................................................................................................ ............ 9 figure 7. ac-link connections.................................................................................................. ..... 11 figure 8. mixer diagram........................................................................................................ ........ 11 figure 9. ac-link input and output framing.................................................................................. 12 figure 10. line inputs......................................................................................................... ........... 30 figure 11. differential cdrom in ............................................................................................... .. 30 figure 12. pc ? 99 microphone pre-amplifier ................................................................................. 31 figure 13. headphones driver ................................................................................................... ... 32 figure 14. voltage regulator ................................................................................................... ..... 32 list of tables table 1. mixer registers ....................................................................................................... ........ 17 table 2. alternate line-out and master mono attenuation ........................................................... 19 table 3. analog mixer input gain values...................................................................................... 19 table 4. stereo volume register index ........................................................................................ 20 table 5. input mux selection................................................................................................... ...... 20 table 6. 6 channel volume attenuation........................................................................................ 24 table 7. gpio input/output configuration .................................................................................... 27 table 8. slot assignments..................................................................................................... ....... 28 table 9. reg. 7eh defined part id ? s ............................................................................................. 29
cs4294 ds326pp4 5 1. characteristics and specifications audio analog characteristics (standard test conditions unless otherwise noted: t ambient = 25 c, avdd = 5.0 v 5%, dvdd = 3.3 v 5%; 1 khz input sine wave; sample frequency, fs = 48 khz; z al =10 k ?/ 680 pf load c dl = 18 pf load (note 1); measurement bandwidth is 20 hz - 20 khz, 18-bit linear coding for adc, 20-bit linear coding for dac; mixer registers set for unity gain. notes: 1. z al refers to the analog output pin loading and c dl refers to the digital output pin loading. 2. parameter definitions are given in the parameter and term definitions section. 3. path refers to the signal path used to generate this data. these paths are defined in the parameter and term definition section. 4. typical measured with z al =47k ? /680 pf load. 5. this specification is guaranteed by silicon characterization, it is not production tested. parameter (note 2 ) symbol path (note 3) cs4294-kq CS4294-JQ unit min typ max min typ max full scale analog input voltage line inputs mic inputs (20 db=0) mic inputs (20 db=1) a-d a-d a-d 0.91 0.91 0.091 1.00 1.00 0.10 - - - 0.91 0.91 0.091 1.00 1.00 0.10 - - - v rms v rms v rms full scale output voltage (note 4) line and alternate line outputs d-a 0.91 1.0 1.13 0.91 1.0 1.13 v rms frequency response analog ac = 0.5 db dac ac = 0.5 db adc ac = 0.5 db fr a-a d-a a-d 20 20 20 - - - 20,000 20,000 20,000 20 20 20 - - - 20,000 20,000 20,000 hz hz hz dynamic range stereo analog inputs to line_out mono analog inputs to line_out dac dynamic range adc dynamic range dr a-a a-a d-a a-d 90 85 85 85 95 90 90 90 - - - - - - - - 90 85 87 85 - - - - db fs a db fs a db fs a db fs a dac snr (-20 db fs input w/ ccir-rms filter on output) snr d-a - 63 - - - - db total harmonic distortion + noise (-3 db fs input signal): line/alternate line output dac adc (all inputs except phone/mic) adc (phone/mic) thd+n a-a d-a a-d a-d - - - - -94 -86 -87 -87 -80 -80 -80 -74 - - - - - - - - -74 -74 -74 -74 db fs a db fs a db fs a db fs a power supply rejection ratio (1 khz, 0.5 v rms w/ 5 v dc offset)(note 5) 40 60 - - 40 - db interchannel isolation 70 87 - - 87 - db spurious tone (note 5) - -100 - - -100 - db fs input impedance (note 5) 10 - - 10 - - k ? external load impedance 10 - - 10 - - k ? output impedance (note 5) - 730 - - 730 - ? input capacitance (note 5) - 5 - - 5 - pf vrefout 2.0 2.3 2.4 2.0 2.3 2.4 v
cs4294 6 ds326pp4 absolute maximum ratings (avss1 = avss2 = dvss1 = dvss2 = 0 v) recommended operating conditions (avss1 = avss2 = dvss1 = dvss2 = 0 v) mixer characteristics (for cs4294 -kq only) digital characteristics (avss = dvss = 0 v) parameter min typ max unit power supplies +3.3 v digital +5 v digital analog -0.3 -0.3 -0.3 - - - 6.0 6.0 6.0 v v v total power dissipation (supplies, inputs, outputs) - - 750 mw input current per pin (except supply pins) -10 - 10 ma output current per pin (except supply pins) -15 - 15 ma analog input voltage -0.3 - avdd + 0.3 v digital input voltage -0.3 - dvdd + 0.3 v ambient temperature (power applied) -55 - 110 c storage temperature -65 - 150 c parameter symbol min typ max unit power supplies +3.3 v digital +5 v digital analog dvdd1, dvdd2 dvdd1, dvdd2 avdd1, avdd2 3.135 4.75 4.75 3.3 5 5 3.465 5.25 5.25 v v v operating current +3.3 v digital +5 v digital analog dvdd1, dvdd2 dvdd1, dvdd2 avdd1, avdd2 40 40 75 52 52 97.5 ma ma ma operating ambient temperature 0 - 70 c parameter min typ max unit mixer gain range span line in, aux, cd, mic1 line out, alternate line out - - 46.5 94.5 - - db db step size all volume controls - 1.5 - db parameter symbol min typ max unit dvdd = 3.3v low level input voltage v il 0.8 v high level input voltage v ih 2.15 v high level output voltage v oh 3.0 3.25 v low level output voltage v ol 0.03 .35 v input leakage current (ac-link inputs) -10 - 10 a output leakage current (tri-stated ac-link outputs) -10 - 10 a output buffer drive current bit_clk sdata_in, eapd 24 4 ma ma dvdd = 5.0 v low level input voltage v il 0.8 v high level input voltage v ih 3.25 v high level output voltage v oh 4.5 4.95 v low level output voltage v ol -0.03.35v input leakage current (ac-link inputs) -10 - 10 a output leakage current (tri-stated ac-link outputs) -10 - 10 a output buffer drive current bit_clk sdata_in, eapd 24 4 ma ma
cs4294 ds326pp4 7 serial port timing notes: 6. bit_clk measured with 47 ? series termination and c l =50 pf. parameter symbol min typ max unit reset# timing vdd stable to reset# inactive t vdd2rst# 5. ms reset# active low pulse width t rst_low 1.0 - - s reset# inactive to bit_clk start-up delay t rst2clk 25 120 - s 1st sync active to codec ready set t sync2crd - 62.4 - s clocks bit_clk frequency f clk - 12.288 - mhz bit_clk period t clk_period - 81.4 - ns bit_clk output jitter (depends on xtal_in source) - - 750 ps bit_clk high pulse width t clk_high 36 40.7 45 ns bit_clk low pulse width t clk_low 36 40.7 45 ns sync frequency f sync -48-khz sync period t sync_period - 20.8 - s sync high pulse width t sync_high -1.3- s sync low pulse width t sync_low - 19.5 - s data setup and hold output propagation delay from rising edge of bit_clk t co - 6 12 ns input setup time from falling edge of bit_clk t isetup 10 - - ns input hold time from falling edge of bit_clk t ihold 0- -ns input signal rise time t irise 2-6ns input signal fall time t ifall 2-6ns output signal rise time (note 5, 6) t orise 246ns output signal fall time (note 5, 6) t ofall 246ns misc. timing parameters end of slot 2 to bit_clk, sdata_in low (pr4) t s2_pdown -.341.0 s sync pulse width (pr4) warm reset t sync_pr4 1.1 - - s sync inactive (pr4) to bit_clk start-up delay t sync2clk 162.8 350 - ns setup to trailing edge of reset# (test mode) (note 5) t setup2rst 15 - - ns rising edge of reset# to hi-z delay (note 5) t off - - 25 ns
cs4294 8 ds326pp4 bit_clk t rst_low t rst2clk t vdd2rst# vdd reset# figure 1. power up timing bit_clk t sync2crd codec_ready sync figure 2. clocks bit_clk sync t irise t ifall t orise t ifall t clk_high t clk_low t sync_high t sync_low t sync_period t clk_period figure 3. codec ready from startup or fault condition
cs4294 ds326pp4 9 bit_clk t isetup t ihold t co sdata_out, sync sdata_in figure 4. data setup and hold bit_clk t s2_pdown sdata_in sdata_out sync write to 0x20 data pr4 don ? t care slot 1 slot 2 sync_pr4 sync2clk t t figure 5. pr4 powerdown reset# sdata_out, sync t setup2rst sdata_in, t off bit_clk hi-z figure 6. test mode
cs4294 10 ds326pp4 2. general description 2.1 overview the cs4294 is a mixed-signal audio codec based on the ac ?97 1.0 specification, and the ac ?97 2.0 extensions. it is designed to be paired with a digital controller, typically located on the pci bus. the controller is responsible for all communica- tions between the cs4294 and the rest of the sys- tem. the cs4294 functions as an analog mixer, a stereo audio adc, a stereo audio dac, and a con- trol and digital stream interface to the controller. the cs4294 contains three distinct functional sec- tions: digital, analog audio, and extended analog audio. the digital section includes the ac-link registers, power management support, sync detection cir- cuitry, and ac-link serial port interface logic. the analog audio section includes the analog input multiplexer (mux), stereo input mixer, stereo out- put mixer, stereo adcs, stereo dacs, and analog volume controls. the extended audio section in- cludes dual adcs, dual dacs, gpio control and status, and power down and wake-up logic. 2.2 modes of operation the cs4294 has two basic modes of operation. each mode allows varying functionality to meet a wide variety of software and hardware configura- tions. on power up or system reset, the device re- verts to the basic configuration mode 0. the four channel expansion and enhanced digital docking are activate in mode 1. 2.2.1 mode 0 this is the default operating mode for the cs4294. it supports the legacy ac ?97 audio modes of oper- ation including audio mixer, adc?s, and dac?s. 2.2.2 mode 1 mode 1 is the four channel expansion mode. the second adc/dac pairs are utilized for enhanced audio functionality. the second stereo dac?s are routed to the alternate line audio outputs providing 2 additional audio channels. the secondary adc inputs may be connected to the output of the analog stereo input mixer for enhanced audio effect pro- cessing or enhanced digital docking in a note book application. 3. digital section 3.1 ac-link all communication with the codec is established with a 5-wire digital interface to the controller chip as shown in figure 7. all clocking for the serial communication is synchronous to the bit_clk signal. bit_clk is generated by the primary co- dec and is used to slave the controller and any sec- ondary codecs, if applicable. an ac-link audio frame is a sequence of 256 serial bits organized into 13 groups referred to as ?slots?. one frame consists of one 16-bit slot and twelve 20-bit slots. during each audio frame, data is passed bi-directionally between the codec and the controller. the input frame is driven from the codec on the sdata_in line. the output frame is driven from the controller sdata_out line. both input and output frames contain the same number of bits and are organized with the same ?slot? configuration. the input and output frame have differing functions for each slot. the controller synchronizes the beginning of a frame with the sync signal. in figure 9 the posi- tion of each bit location within the frame is noted. the first bit position in a new serial data frame is f0 and the last bit position in the serial data frame is f255. when sync goes active (high) and is sam- pled active by the cs4294 (on the falling edge of bit_clk), both devices are synchronized to a new serial data frame. the data on the sdata_out pin at this clock edge is the final bit of the previous frame?s serial data. on the next rising edge of bit_clk, the first bit of slot 0 is driven by the controller on the sdata_out pin. the cs4294 latches in this data, as the first bit of the frame, on
cs4294 ds326pp4 11 the next falling edge of the bit_clk clock signal. the controller is also responsible for issuing reset via the reset# signal. after being reset, the co- dec is responsible for flagging the controller that it is ready for operation after synchronizing its inter- nal functions. the ac-link signals may be refer- enced to either 5 volts or 3.3 volts. the cs4294 must use the same digital supply voltage as the controller chip. 3.2 control registers all read accesses to the codec are generated by re- questing a register address (index number) in slot 1 of a sdata_out frame. the following sdata_in frame will contain the register content in its slot 2. the write operation is identical with the index in slot 1 and the write data in slot 2. the ac ?97 frame definition section details the func- tion of each input and output frame. individual reg- ister descriptions are found in the register interface section. ac-97 register interface the cs4294 implements the ac ? 97 registers in accordance with the ac ? 97 2.0 specification. see the register interface section for details on the cs4294 ? s register set. 4. analog section please refer to figure 8, mixer diagram, for a high- level graphical representation of the cs4294 ana- log mixer structure. codec sync bit_clk sdata_out sdata_in reset# digital ac ? 97 controller figure 7. ac-link connections figure 8. mixer diagram vol mute mute mute mute vol vol vol +20db dac 3d stereo to mono mixer vol vol output buffer output buffer master volume alternate volume main d/a converters pcm_out pcm out path stereo input mixer stereo output mixer mic1 aux cd line mode control sync sdata_out mute vol adc input mux vol mute adc main adc gain adc dac reset# alt_line_out line_out gpio bit_clk sdata_in ac-link interface 2 / 2 / 2 / 2 / 2 / 2 / 2 / 6 / 3 / 2 /
cs4294 12 ds326pp4 4.1 audio output mixer the stereo output mixer sums together the analog outputs from the input mixer, stereo enhancement, and the pcm dac output. the stereo output mix is sent to the line_out and alt_line_out out- put pins of the cs4294. when the device is set to mode 1 or the eam bit in ac mode control (index 5eh) is set, the secondary dac outputs are routed to alt_line_out. 4.2 audio input mux the input multiplexer controls which analog input is sent to the adcs. the output of the input mux is converted to stereo 18-bit digital pcm data and sent to the digital controller chip in slots 3 and 4 of the ac-link sdata_in signal. 4.3 audio input mixer the input mixer is an analog mix of the analog in- put signals such as mic, line_in, etc., and the pcm audio dac output. the output of the mixer is routed to the adc input mux, audio output mixer, and may be routed to the extended audio adc input. 4.4 audio volume control the volume control registers of the ac ? 97 regis- ter interface control analog input level to the input mixer, the master volume level, and the alternate volume level. all analog volume controls imple- ment volume steps at nominally 1.5 db per step. the analog inputs allow a mixing range of +12 db of signal gain to -34.5 db of signal attenuation. the analog output volume controls allows from 0 db to -94.5 db of attenuation. 5. ac ?97 5.1 ac ? 97 frame definition the ac link is a bi-directional serial port with thirteen time-division multiplexed slots in each di- rection. the first slot is 16 bits long and termed the tag slot. bits in the tag slot determine if the codec is ready and indicate which, if any, other slots con- tain valid data. slots 1 through 11 are 20-bits long and can contain audio data. slot 12 contains data to be written and read from gpio. the serial data line is defined from the controller ? s perspective, not from the audio codec ? s perspective. 5.2 ac-link serial data output frame in the serial data output frame, data is passed on the sdata_out pin to the cs4294 from the controller. figure 9 illustrates the serial port tim- ing. 20.8 s (48 khz) tag phase data phase 12.288 mhz 81.4 ns sync bit_clk sdata_out sdata_in f0 f1 f2 f16 f15 f14 f13 f12 f35 f56 f76 0 f255 valid frame slot 1 valid 00 scra1 scra0 r/w 0 wd15 f36 f57 lp19 lp18 rp19 lc17 lc16 rc17 rd15 0 0 0 0 0 bit frame position: f0 f1 f2 f16 f15 f14 f13 f12 f35 f56 f76 f255 f36 f57 f255 f255 x x 0 0 f97 f97 x slot 0 slot 1 slot 2 slot 3 slot 4 slots 5-12 slot 2 valid slot 1 valid slot 2 valid codec ready 0 bit frame position: figure 9. ac-link input and output framing
cs4294 ds326pp4 13 5.3 ac-link audio output frame 5.3.1 serial data output slot tags (slot 0) valid frame determines if any of the following slots contain either valid playback data for the codec ? s dacs, data for read/write operation, or gpio data. when set, at least one of the other ac-link slots contain valid data. if this bit is clear, the remainder of the frame is ignored. slot [1:2] valid indicates valid slot data when accessing the register set of the primary codec (scra[1:0] = 00). for a read operation, slot 1 valid is set when register address (slot 1) contains valid data. for a write oper- ation, slot 1 valid and slot 2 valid are set indicating register address (slot 1) and register write data (slot 2) contain valid data. the register address and write data must be valid within the same frame. scra[1:0] must be cleared when accessing the primary codec. the physical address of a codec is determined by the id[1:0]# input pins which are reflected in the extended audio id (index 28h) register and the extended codec id (index 3ch) register. slot [3:11] valid if a slot valid bit is set, the named slot contains valid audio data. if the bit is clear, the slot will be ignored. the definition of each slot is determined by the basic operating mode selected for the cs4294. for more information, see the ac mode control (index 5eh) register. slot 12 valid if slot 12 valid is set, slot 12 contains valid write data for the gpio pins. scra[1:0] secondary codec register access. unlike the primary codec, scra[1:0] indicate valid slot data when accessing the register set of a secondary codec. the value set in scra[1:0] (01,10,11) determines which of the three possible secondary codecs is accessed. for a read operation, the scra[1:0] bits are set when register address (slot 1) contains valid data. for a write operation, scra[1:0] bits are set when register address (slot 1) and register write data (slot 2) contain valid data. the write oper- ation requires the register address and the write data to be valid within the same frame. scra[1:0] must be cleared when accessing the primary codec. they must also be cleared during the idle period where no register read or write is pending. the physical address of a codec is determined by the id[1:0]# input pins which are reflected in the extended audio id (index 28h) register and the extended codec id (in- dex 3ch) register. the scra[1:0] bits are listed as the id[1:0] bits in slot 0 in the ac ? 97 specification. 5.3.2 register address (slot 1) r/w # read/write#. determines if a read (r/w# = 1) or write (r/w# = 0) operation is requested. for a read operation, the following input frame will return the register index in the read-back address port (slot 1) and the contents of the register in the read-back data port (slot 2). a write operation does not return any valid data in the following frame. if the r/w# bit = 0, data must be valid in both the register address (slot 1) and the register write data (slot 2) during a frame when slot [1:2] valid or scra[1:0] are set. ri[6:0] register index/address. registers can only be accessed on word boundaries; ri0 must be set to 0. ri[6:0] must contain valid data during a frame when the slot 1 valid or scra[1:0] are set. bit 1514131211109876543210 valid frame slot 1 valid slot 2 valid slot 3 valid slot 4 valid slot 5 valid slot 6 valid slot 7 valid slot 8 valid slot 9 valid slot 10 valid slot 11 valid slot 12 valid scra 1 scra 0 bit 191817161514131211109876543210 r/w# ri6 ri5 ri4 ri3 ri2 ri1 ri0
cs4294 14 ds326pp4 5.3.3 register write data (slot 2) wd[15:0] codec register data for write operations. for read operations, this data is ignored. if r/w# = 0, data must be valid in both the register address (slot 1) and the register write data (slot 2) during a frame when the slot [1:2] valid = 11 or either scra[1:0] bit is set. splitting the register address and the write data across multiple frames is not permitted. 5.3.4 playback data (slots 3-11) pd[19:0] 20-bit pcm playback (2 ? s complement) data for the left and right dacs. any pcm data from the con- troller less than 20 bits should be left justified in the slot and zero-padded. table 8 on page 28 lists the definition of each respective slot. the mapping of a given slot is determined by the md[1:0] bits found in the ac mode control (index 5eh) register . 5.3.5 gpio data (slot12) gp[9:0] gpio output data. output data is transferred to the gpio pins every frame in slot 12. 5.4 ac-link audio input frame in the serial data input frame, data is passed on the sdata_in pin from the cs4294 to the ac ? 97 controller. the data format for the input frame is very similar to the output frame. figure 9 illustrates the serial port timing. 5.4.1 serial data input slot tag bits (slot 0) codec ready indicates the readiness of the cs4294 ? s ac-link and control and status registers. immediately after a cold reset this bit will be clear. once the cs4294 ? s clocks and voltages are stable, this bit will be set. until the codec ready bit is set, no ac-link transactions should be attempted by the controller. the codec ready bit does not indicate readiness of the dacs, adcs, vref, or any other analog function. those must be checked in the power down control/status (index 26h), extended audio stat/ctrl (index 2ah) , and extended codec stat/ctrl (index 3eh) registers by the controller before any access is made to the mixer registers. any accesses to the codec while codec ready is clear is ignored. slot 1 valid tag indicates slot 1 contains a valid read back address. slot 2 valid tag indicates slot 2 contains valid register read data. slot [3:11] valid tag indicates slot [3:11] contains valid capture data from the codec ? s adc. slot 12 valid tag indicates slot 12 contains valid read data of the gpio pin status register (index 54h). bit 19181716151413121110987654 3210 wd15 wd14 wd13 wd12 wd11 wd10 wd9 wd8 wd7 wd6 wd5 wd4 wd3 wd2 wd1 wd0 bit 191817161514131211109876543210 pd19 pd18 pd17 pd16 pd15 pd14 pd13 pd12 pd11 pd10 pd9 pd8 pd7 pd6 pd5 pd4 pd3 pd2 pd1 pd0 bit 191817161514131211109876543210 gp9 gp8 gp7 gp6 gp5 gp4 gp3 gp2 gp1 gp0 bit 1514131211109876543210 codec ready slot 1 valid slot 2 valid slot 3 valid slot 4 valid slot 5 valid slot 6 valid slot 7 valid slot 8 valid slot 9 valid slot 10 valid slot 11 valid slot 12 valid
cs4294 ds326pp4 15 5.4.2 read-back address port (slot 1) ri[6:0] register index. the read-back address port echoes the ac ? 97 register address when a register read has been requested in the previous frame. the codec will only echo the register index for a read access. write accesses will not return valid data in slot 1. 5.4.3 read-back data port (slot 2) rd[15:0] 16-bit register value. the read-back data port contains the register data requested by the controller from the previous read request. all read requests will return the read address in the read-back address port (slot 1) and the register data in the read-back data port (slot 2) on the following serial data frame. 5.4.4 pcm capture data (slot 3-11) cd[17:0] 18-bit pcm (2 ? s compliment) data. the mapping of a given slot to an adc is determined by the state of the md[1:0] bits found in the ac mode control (index 5eh) register. 5.4.5 gpio pin status (slot 12) gi[9:0] status of the gpio[8:3] pin. irq set when the gpio generates a wake up or interrupt cycle. see gpio pin wake up mask (index 52h) register. the capture data in slot [3:12] will only be valid when the respective slot valid bit is set in slot 0. 5.5 ac ? 97 reset modes three methods of resetting the cs4294, as defined in the ac ? 97 specification, are supported: cold ac ? 97 reset , warm ac ? 97 reset , and ac ? 97 register reset . a cold ac ? 97 reset is required to restart the ac-link when bit pr5 is set in the power down control/status (index 26h) register. 5.5.1 cold ac ?97 reset a cold reset is performed by asserting reset# in accordance with the minimum timing specifica- tions in the serial port timing section. once de-as- serted, all of the codec ? s registers will be reset to their default power-on states and the bit_clk clock and sdata_in signals will be reactivated. the timing of power-up/reset events is discussed in detail in the power management section. 5.5.2 warm ac ? 97 reset the cs4294 may also be reactivated when the ac- link is powered down (refer to the pr4 bit descrip- tion in the power management section) by a warm reset. a warm reset allows the ac-link to be re- activated without losing information in the codec ? s registers. warm reset is initiated when the sync signal is driven high for at least 1 s and then driv- en low in the absence of the bit_clk clock signal. the bit_clk clock will not restart until at least 2 normal bit_clk clock periods ( 162.8 ns) af- ter the sync signal is de-asserted. bit 19181716151413121110987 65 4 3210 ri6 ri5 ri4 ri3 ri2 ri1 ri0 bit 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 rd15 rd14 rd13 rd12 rd11 rd10 rd9 rd8 rd7 rd6 rd5 rd4 rd3 rd2 rd1 rd0 bit 191817161514131211109876543210 cd17 cd16 cd15 cd14 cd13 cd12 cd11 cd10 cd9 cd8 cd7 cd6 cd5 cd4 cd3 cd2 cd1 cd0 bit 191817161514131211109876543210 gi8 gi7 gi6 gi5 gi4 gi3 irq
cs4294 16 ds326pp4 5.5.3 ac ? 97 register reset the third reset mode provides a register reset to the cs4294. this is available only when the cs4294 ? s ac-link is active and the codec ready bit is set. the audio and extended codec subsections may be reset independently. any write to reset (index 00h) register will reset the audio subsection while any write to extended codec stat/ctrl (index 3eh) reg- ister will reset the extended codec subsection. see the respective register descriptions for additional information. 5.6 ac-link protocol violation - loss of sync the cs4294 is designed to handle sync protocol violations. the following are situations where the sync protocol has been violated:  the sync signal is not sampled high for exactly 16 bit_clk clock cycles at the start of an audio frame.  the sync signal is not sampled high on the 256th bit_clk clock period after the previous sync assertion.  the sync signal goes active high before the 256th bit_clk clock period after the previous sync assertion. upon loss of synchronization with the controller, the codec will mute all analog outputs and clear the codec ready bit in the serial data input frame until two valid frames are detected. during this detection period, the codec will ignore all register reads and writes and will discontinue the transmission of pcm capture data.
cs4294 ds326pp4 17 6. register interface certain register locations change definition based on the basic operating mode (mode 0,1) selected by the md[1:0] bits found in the ac mode control (index 5eh) register. the reset default is mode 0. reg num name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 00h reset mode 0 se4 se3 se2 se1 se0 0 id8 id7 0 0 id4 0 0 0 0 1990h 00h reset mode 1 se4 se3 se2 se1 se0 0 id8 id7 0 0 0 0 0 0 0 1980h 02h master volume mute ml5 ml4 ml3 ml2 ml1 ml0 mr5 mr4 mr3 mr2 mr1 mr0 8000h 04h alternate line out volume mute ml5 ml4 ml3 ml2 ml1 ml0 mr5 mr4 mr3 mr2 mr1 mr0 8000h 0eh mic volume mute 20db gn4 gn3 gn2 gn1 gn0 8008h 10h line in volume mute gl4 gl3 gl2 gl1 gl0 gr4 gr3 gr2 gr1 gr0 8808h 12h cd volume mute gl4 gl3 gl2 gl1 gl0 gr4 gr3 gr2 gr1 gr0 8808h 16h aux volume mute gl4 gl3 gl2 gl1 gl0 gr4 gr3 gr2 gr1 gr0 8808h 18h pcm out vol mute gl4 gl3 gl2 gl1 gl0 gr4 gr3 gr2 gr1 gr0 8808h 1ah record select sl2 sl1 sl0 sr2 sr1 sr0 0000h 1ch record gain mute gl3 gl2 gl1 gl0 gr3 gr2 gr1 gr0 8000h 20h general purpose pop see lpbk 0000h 22h stereo enhancement s3 s2 s1 s0 0000h 26h powerdown ctrl/stat pr6 pr5 pr4 pr3 pr2 pr1 pr0 ref anl dac adc 000fh 28h ext ? d audio id mode 0 id1 id0 vra x000h 28h ext ? d audio id mode 1 id1 id0 ldac sdac cdac vra x1c0h 2ah ext ? d audio stat/ctrl mode 0 0000h 2ah ext ? d audio stat/ctrl mode 1 prk prj pri ldac sdac cdac 01c0h 2ch pcm front dac rate sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 bb80h 2eh pcm surround dac rate sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 bb80h 30h pcm lfe dac rate sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 bb80h 32h pcm left/right adc rate sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 bb80h 36h center lfe volume mute lfe5 lfe4 lfe3 lfe2 lfe1 lfe0 mute cnt5 cnt4 cnt3 cnt2 cnt1 cnt0 8080h 38h lr surround volume mute lsr5 lsr4 lsr3 lsr2 lsr1 lsr0 mute rsr5 rsr4 rsr3 rsr2 rsr1 rsr0 8080h 3ch ext ? d codec id id1 id0 x005h 3eh ext ? d codec stat/ctrl mode 0 prh prg prd prc prb pra edac 2 eadc 2 eda c1 ead c1 eref gpio 00cfh 3eh ext ? d codec stat/ctrl mode 1 prg prc prb pra eadc 2 ead c1 eref gpio 0047h 40 ext ? d dac1/adc1 rate sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 bb80h 44 ext ? d dac2/adc2 rate sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 bb80h 46 ext ? d dac1/adc1 level mute dac3 dac2 dac1 dac0 mute adc3 adc2 8080h 4a ext ? d dac2/adc2 level mute dac3 dac2 dac1 dac0 mute adc3 adc2 8080h 4c gpio pin configuration gc8 gc7 gc6 gc5 gc4 gc3 03ffh 4e gpio pin polarity/type gp8 gp7 gp6 gp5 gp4 gp3 ffffh 50 gpio pin sticky gs8 gs7 gs6 gs5 gs4 gs3 0000h 52 gpio pin wakeup mask gw8 gw7 gw6 gw5 gw4 gw3 0000h 54 gpio pin status gi8 gi7 gi6 gi5 gi4 gi3 xxxxh cirrus defined registers : 5a crystal revision / fab 1 1 1 0 0302h 5e slot map register edm eam ddm md1 md0 0000h 7ch vendor id1(cr) f7 f6 f5 f4 f3 f4 f1 f0 s7 s6 s5 s4 s3 s2 s1 s0 4352h 7eh vendor id2(y-) t7 t6 t5 t4 t3 t2 t1 t0 0 pid2 pid1 pid0 1 rid2 rid1 rid0 5923h table 1. mixer registers
cs4294 18 ds326pp4 6.1 register descriptions 6.1.1 reset (index 00h) se[4:0] enhanced stereo technique. 00110 - crystal 3d stereo enhancement. id8 set 18-bit adc resolution. id7 set 20-bit dac resolution. id4 set headphone out support. (alternate line output) read-only data mode 0 1990h mode 1 1980h any write to this register causes the audio control registers (index 02h - 38h) and the crystal specific registers (index 5eh - 68h) to be reset forcing them to their default state. the mode control bits md[1:0] of the ac mode control (index 5eh) register are also cleared forcing the codec to mode 0 configuration. reads return configuration information about the audio codec 6.1.2 master volume (index 02h) mute master mute for the line_out_l and the line_out_r output signals. ml[5:0] master volume control for line_out_l pin. least significant bit represents -1.5 db with 00000 = 0 db. the total range is 0 db to -94.5 db. mr[5:0] master volume control for line_out_r pin. least significant bit represents -1.5 db with 00000 = 0 db. the total range is 0 db to -94.5 db. default 8000h, corresponding to 0 db attenuation and mute on. in mode 1 the line_out volume is controlled by the left right surround (index 38h) register in place of master volume. mode d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 0 se4se3se2se1se00id8id700id40000 1 se4se3se2se1se00id8id70000000 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute ml5 ml4 ml3 ml2 ml1 ml0 mr5 mr4 mr3 mr2 mr1 mr0
cs4294 ds326pp4 19 6.1.3 alternate volume (index 04h) mute master mute for the alt_line_out_l and the alt_line_out_r output signals. ml[5:0] master volume control for alt_line_out_l pin. least significant bit represents -1.5 db with 00000 = 0 db. the total range is 0 db to -94.5 db. mr[5:0] master volume control for alt_line_out_r pin. least significant bit represents -1.5 db with 00000 = 0 db. the total range is 0 db to -94.5 db. default 8000h, corresponding to 0 db attenuation and mute on. in mode 1 the alt_line_out volume is controlled by the lfe/cnt volume (index 36h) register in place of alternate volume. 6.1.4 microphone volume (index 0eh) mute when set, mutes mic signal. gn[4:0] mic volume control. least significant bit represents 1.5 db with 01000 = 0 db. the total range is 12 db to -34.5 db. 20db enables 20 db microphone gain block. default 8008h, 0 db attenuation and mute set. this register controls the gain level of the microphone input source to the input mixer. it also con- trols the +20 db gain block which connects to the input volume control and to the input record mux. the gain mapping for this register is shown in table 3. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute ml5 ml4 ml3 ml2 ml1 ml0 mr5 mr4 mr3 mr2 mr1 mr0 ml[5:0]/mr[5:0]/mm[5:0] write ml[5:0]/mr[5:0]/mm[5:0 read gain level 000000 000000 0 db 000001 000001 -1.5 db ?? ... 111111 111111 -94.5 db table 2. alternate line-out and master mono attenuation d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute 20db gn4 gn3 gn2 gn1 gn0 gn4 - gn0 gain level mic gain with 20db = 1 00000 +12.0 db +32.0 db 00001 +10.5 db 30.5 db ?? ... 00111 +1.5 db 21.5 db 01000 0.0 db 20.0 db 01001 -1.5 db 18.5 db ?? ... 11111 -34.5 db -14.5 db table 3. analog mixer input gain values
cs4294 20 ds326pp4 6.1.5 stereo analog mixer input gain (index ? s 10h - 12h, 16h - 18h) mute when set mutes the respective input. setting this bit mutes both right and left inputs. gl[4:0] left volume control. least significant bit represents 1.5 db with 01000 = 0 db. the total range is 12 db to -34.5 db. see table 3. gr[4:0] right volume control. least significant bit represents 1.5 db with 01000 = 0 db. the total range is 12 db to -34.5 db. see table 3. default 8808h, 0 db gain with mute enabled. these registers control the gain levels of the analog input sources to the input mixer. the analog in- puts associated with registers 10h-18h are found in table 4. 6.1.6 input mux select (index 1ah) sl[2:0] left channel adc input source select. sr[2:0] right channel adc input source select. default 0000h, mic inputs selected for both channels. when capturing pcm data, this register controls the input mux for the adcs. table 5 below lists the possible values for each input. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute gl4 gl3 gl2 gl1 gl0 gr4 gr3 gr2 gr1 gr0 register index function 10h line in volume 12h cd volume 16h aux volume 18h pcm out volume table 4. stereo volume register index d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 sl2 sl1 sl0 sr2 sr1 sr0 sx2 - sx0 record source 0mic 1 cd input 2 not available 3 aux input 4 line input 5stereo mix 6 mono mix 7 not available table 5. input mux selection
cs4294 ds326pp4 21 6.1.7 record gain (index 1ch) mute when set, mutes the input to the adcs. gl[3:0] left adc gain. least significant bit represents +1.5 db with 0000 = 0 db. the total range is 0 db to +22.5 db. gr[3:0] right adc gain. least significant bit represents +1.5 db with 0000 = 0 db. the total range is 0 db to +22.5 db. default 8000h, 0 db gain with mute on. 6.1.8 general purpose (index 20h) pop pcm output path. by default, the pcm output is mixed prior to the stereo enhancement. when set, the pcm output is mixed after the stereo enhancement. see stereo enhancement enable. if set, enables the crystalclear stereo enhancement. lpbk loopback. if set, enables analog adc/dac loopback mode. default 0000h. 6.1.9 stereo enhancement control (index 22h) s[3:0] spacial enhancement depth. spacial enhancement is enabled by the stereo enhancement enable bit in the general purpose (index 20h) register. 0000 - no spacial enhancement. 1111 - full spacial enhancement. default 0000h, no spacial enhancement added. the spacial enhancements is not available on the alt_line output when the codec is in mode 1 or eam is set. see the ac mode control (index 5eh) register for more detail. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute gl3 gl2 gl1 gl0 gr3 gr2 gr1 gr0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 pop see 0 lpbk d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 s3 s2 s1 s0
cs4294 22 ds326pp4 6.1.10 power down control/status (index 26h) pr6 when set, the alternate line-out buffer is powered down. pr5 when set, the internal master clock is disabled. the only way to recover from setting this bit is through a cold ac ? 97 reset (driving the reset# signal active). pr4 when set, the ac link is powered down. the ac link can be restarted through a warm ac ? 97 reset using the sync signal, or a cold ac ? 97 reset using the reset# signal (the primary codec only). pr3 when set, the analog mixer and voltage reference are powered down. when clearing this bit, the anl, adc, and dac bits should be checked before writing any mixer registers. because the reference volt- age is shared with the extended audio subsection, it will not power down unless the prb bit is also set in the extended codec stat/ctrl (index 3eh) register. pr2 when set, the analog mixer is powered down (the voltage reference is still active). when clearing this bit, the anl bit should be checked before writing any mixer registers. pr1 when set, the dacs are powered down. when clearing this bit, the dac bit should be checked before sending any data to the dacs. pr0 when set, the adcs and the adc input muxes are powered down. when clearing this bit, no valid data will be sent down the ac link until the adc bit goes high. ref voltage reference ready status. when set, indicates the voltage reference is at a nominal level. anl analog ready status. when set, the analog output mixer, input multiplexer, and volume controls are ready. when clear, no volume control registers should be written. dac dac ready status. when set, the dacs are ready to receive data across the ac link. when clear, the dacs will not accept any valid data. adc adc ready status. when set, the adcs are ready to send data across the ac link. when clear, no data will be sent to the controller. default 0000h, all blocks are powered on. the lower four bits will eventually change as the codec finishes an initialization and calibration sequence. the pr[6:0] are power-down control for different sections of the codec. the ref, anl, dac, and adc bits are status bits which, when set, indicate that a particular section of the codec is ready. after the controller receives the codec ready bit in slot 0, these status bits must be checked before writing to any mixer registers. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 pr6 pr5 pr4 pr3 pr2 pr1 pr0 ref anl dac adc
cs4294 ds326pp4 23 6.1.11 extended audio id (index 28h) id[1:0] codec configuration id. primary is 00; secondary is 01,10,or 11. this is a reflection of the id[1:0]# con- figuration pins. the state of the id# pins are determined at power-up and are the inverse of the id bits in this register. ldac pcm lfe dac. indicates a lfe dac is supported. sdac pcm surround dac. indicates a surround dac is supported. cdac pcm center dac. indicates a center dac is supported. vra variable rate audio. this bit is clear indicating variable sample rates are not supported. read-only data mode 0 x000h. where x is determined by the state of id[1:0] input pins. mode 1 x1c0h. 6.1.12 extended audio status/control (index 2ah) cdac pcm center dac ready. when set, the center dac is ready. ldac pcm lfe dac ready. when set, the lfe dac is ready. sdac pcm surround dac ready. when set, the surround dacs are ready. pri pcm center dac disable. when set, the center dac is disabled. prj pcm surround dac disable. when set, the surround dac is disabled. prk pcm lfe dac disable. when set, the lfe dac is disabled. default mode 0 0000h mode 1 01c0h cdac, ldac, and sdac are read only bits. 6.1.13 pcm front dac rate (index 2ch) sr[15:0] front dac sample rate. default read-only value bb80h, indicating 48 khz sample rate. 6.1.14 pcm surround dac rate (index 2eh) sr[15:0] surround dac sample rate. default read-only value bb80h, indicating 48 khz sample rate. mode d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 0id1id0 vra 1 id1 id0 ldac sdac cdac vra mode d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 0 000000000 1 0 prk prj pri 0 0 ldac sdac cdac d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0
cs4294 24 ds326pp4 6.1.15 pcm lfe dac rate (index 30h) sr[15:0] lfe dac sample rate. default read-only value bb80h, indicating 48 khz sample rate. 6.1.16 pcm lr adc rate (index 32h) sr[15:0] lr adc sample rate. default read-only value bb80h, indicating 48 khz sample rate. 6.1.17 center lfe volume (index 36h) lfe[5:0] lfe volume. least significant bit represents -1.5 db with 00000 = 0 db. the total range is 0 db to - 94.5 db. cnt[5:0] center volume.least significant bit represents -1.5 db with 00000 = 0 db. the total range is 0 db to - 94.5 db. default 8080h, indicating mute with 0 db attenuation. 6.1.18 lr surround volume (index 38h) lsr[5:0] left surround volume. least significant bit represents -1.5 db with 00000 = 0 db. the total range is 0 db to -94.5 db. rsr[5:0] right surround volume. least significant bit represents -1.5 db with 00000 = 0 db. the total range is 0 db to -94.5 db. default 8080h, indicating 0 db attenuation. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute lfe5 lfe4 lfe3 lfe2 lfe1 lfe0 mute cnt5 cnt4 cnt3 cnt2 cnt1 cnt0 lfe[5:0]/lsr[5:0] cnt[5:0]/rsr[5:0] write lfe[5:0]/lsr[5:0] cnt[5:0]/rsr[5:0] read gain level 000000 000000 0 db 000001 000001 -1.5 db ?? ... 111111 111111 -94.5 db table 6. 6 channel volume attenuation d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute lsr5 lsr4 lsr3 lsr2 lsr1 lsr0 mute rsr5 rsr4 rsr3 rsr2 rsr1 rsr0
cs4294 ds326pp4 25 6.1.19 extended codec id (index 3ch) id[1:0] codec configuration id. primary is 00; secondary is 01,10,or 11. this is a reflection of the configuration pins. the state of the id# pins are determined at power-up and are the inverse of the id bits in this reg- ister. default mode 0 x005h mode 1 x000h where x is determined by the state of id[1:0] input pins. the extended codec id is a read/write register. writing any value to this location issues a reset to the extended codec registers (index 3ch-56h) . the primary audio registers are not reset by a write to this location. note: all gpio registers (index 46h-54h) are reset by any write to this location. 6.1.20 extended codec status/control (index 3eh) prh extended dac2. when set powers down the extended dac2. prg extended adc2. when set powers down the extended adc2. prd extended dac2. when set powers down the extended dac1. prc extended adc1. when set powers down the extended adc1. prb extended adc/dac reference. when set powers down the extended adc/dac reference. the ex- tended adc/dac and audio share a common reference. the reference will not power down unless pr3 of the power down ctrl/stat (index 26h) register is also set. pra gpio. when set the gpio pins are tri-state and powered down. slot 12 is marked invalid if the ac-link is active. edac2 extended dac2. when set indicates the extended dac2 is ready. eadc2 extended adc2. when set indicates the extended adc2 is ready. edac1 extended dac1. when set indicates the extended dac1 is ready. eadc1 extended adc1. when set indicates the extended adc1 is ready. eref extended adc/dac reference. when set indicates the extended adc/dac reference is ready. gpio gpio. when set the gpio pins are ready. slot 12 is marked valid. default mode 0 x0cfh mode 1 x047h where x is determined by the state of id[1:0] input pins. pr[a:d,g:h] are read/write bits that provide power management of the extended codec subsection. all remaining bits are read/only status indicating the subsystems are ready for operation. after reset or issuing a change to the md[1:0] of ac mode (index 5eh) register, the respective status bits for that mode will be clear until the subsystem becomes ready. mode d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 0 id1 id0 1 id1 id0 mode d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 0 prh prg prd prc prb pra edac2 eadc2 edac1 eadc1 eref gpio 1 prg prc prb pra eadc2 eadc1 eref gpio
cs4294 26 ds326pp4 6.1.21 extended audio dac1/adc1 rate (index 40h) sr[15:0] extended audio dac1/adc1 sample rate. default read-only value bb80h, indicating 48 khz sample rate. 6.1.22 extended audio dac2/adc2 (index 44h) sr[15:0] extended audio dac2/adc2 sample rate. default read-only value bb80h, indicating 48 khz sample rate. 6.1.23 extended audio dac1/adc1 level (index 46h) mute[d15] mute. mutes the input of extended audio dac1. mute[d7] mute. mutes the output of extended audio adc1. dac[3:0] extended audio dac1 attenuation. least significant bit represents 1.5 db with 00000 = 0 db. the total range is 0 db to -22.5 db. adc[3:2] extended audio adc1 gain. least significant bit represents 6 db with 00 = 0 db. the total range is 0 db to +18 db. default 8080h indicating mute with 0 db attenuation or gain. when eam of the ac mode control (index 5eh) is set, the extended audio dac1 attenuation is controlled by ml[4:0] of the alternate volume (index 04h) register. 6.1.24 extended audiodac2/adc2 level (index 4ah) mute[d15] mute. mutes the input of extended audio dac2. mute[d7] mute. mutes the output of extended audio adc2. dac[3:0] extended audio dac2 attenuation. least significant bit represents 1.5 db with 00000 = 0 db. the total range is 0 db to -22 db. adc[3:2] extended audio adc2 gain. least significant bit represents 6 db with 00 = 0 db. the total range is 0 db to +18 db. default 8080h indicating mute with 0 db attenuation or gain. when eam of the ac mode control (index 5eh) is set, the extended audio dac2 attenuation is controlled by mr[4:0] of the alternate volume (index 04h) register. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute dac3 dac2 dac1 dac0 mute adc3 adc2 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute dac3 dac2 dac1 dac0 mute adc3 adc2
cs4294 ds326pp4 27 6.1.25 gpio pin configuration (index 4ch) gc[9:0] gpio pin configuration. when set defines the corresponding gpio pin as an input default 03ffh after a cold reset, power up, or extended codec register reset (see extended codec id (index 3ch) ) all gpio pins are configured as inputs. 6.1.26 gpio pin polarity/type configuration (index 4eh) gp[9:0] gpio pin configuration. the definition of gp[8:3] changes based on the pin defined as an input or an output by gc[8:3] of gpio pin configuration (index 4ch). default ffffh when the gpio pin is defined as an input, its status is reported in the gpio pin status (index 54h) register as well as slot 12. 6.1.27 gpio pin sticky (index 50h) gs[8:3] gpio pin sticky. if set, the gpio pin input is latched. default 0000h if a gpio is defined as ? sticky ? the input requires a transition of the gpio input pin to set the corre- sponding bit in slot 12 and the gpio pin status (index 54h) register. when ? sticky ? is set the corre- sponding bit in gpio pin polarity/type configuration (index 4ah) register determines which edge of the gpio pin will set gi[x]. if gp[x] is set, a low to high transition sets the gi[x] bit. a high to low transition sets gi[x] if gp[x] is clear. once set, writing a 0 to gi[x] will clear the ? sticky ? input. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 000000resgc8gc7gc6gc5gc4gc3resresres d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 111111resgp8gp7gp6gp5gp4gp3resresres gcx gpx function 0 0 output cmos drive 0 1 output open drain 1 0 input active low 1 1 input active high (default) table 7. gpio input/output configuration d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 gs8 gs7 gs6 gs5 gs4 gs3
cs4294 28 ds326pp4 6.1.28 gpio pin wakeup mask (index 4ch) gw[8:3] wake up mask. if set, allow the gpio input to generate ac-link wake up protocol. default 0000h the cs4294 has the ability to generate a ? wake up ? cycle by a transition of a gpio pin when the ac-link has been powered down. if a mask bit is set, a one being set in the corresponding gpio pin status (index 54h) will initiate a wake up interrupt. bit 0 of sdata_in slot 12 will be set indicating a gpio interrupt. gpio pins must be defined as ? input ? , ? sticky ? , and the mask set to allow a gpio interrupt. the gpio interrupt is cleared by writing a 0 to the respective status bit in gpio pin status (index 54h) register. 6.1.29 gpio pin status (index 54h) gi[8:3] gpio pin status. reflects the state of all gpio pins either input or output. if the gpio pin is defined as an output, the respective bit reflects the state of sdata_out slot 12. if the gpio pin is defined as an input, the register is reflected in sdata_in slot 12. gpio output pins cannot be accessed by slot 1,2 register access, only by sdata_out slot 12. 6.1.30 ac mode control (index 5eh) ddm dac direct mode. this bit controls the source to the line and alternate line output drivers. when set, the left and right dac directly drive the line and alternate line outputs by bypassing the audio mixer. when clear, the audio mixer is the source for the line and alternate line outputs. eam extended audio mode. when set the output of edac2 and edac1 are mapped to the alt_line out- put. the extended audio dac volumes are set by the alternate line volume (index 04h) register when in this mode. edm extended docking mode. when set the output of the analog input mixer is routed to the eadc1 and eadc2 inputs. this allows any analog input mix to be digitized and routed to a second ac ? 97 codec or allows the host controller to add effects processing to analog sources. md[1:0] mode. sets basic operating mode for the codec. this effects the mapping of the adcs and dacs to ac- link slot locations. see the mode of operation subsection for additional detail. table 8 below details the slot mapping. default 0000h d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 gw8 gw7 gw6 gw5 gw4 gw3 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 gi8 gi7 gi6 gi5 gi4 gi3 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 edm eam ddm md1 md0 mode type md[1:0] audio dac1 audio dac2 audio adc1 audio adc2 ext ? d dac1 ext ? d dac2 ext ? d adc1 ext ? d adc2 gpio 0 basic 0,0 left right left right ext ? d left ext ? d right left mixer right mixer 3434 5 11 5 1112 1 extended 4 channel 1,1 sur ? nd left sur ? nd right left right center lfe left mixer right mixer 7834 6 9 5 1112 table 8. slot assignments
cs4294 ds326pp4 29 6.1.31 vendor id1 (index 7ch) f[7:0] first character of vendor id. 43h - ascii ? c ? character. s[7:0] second character of vendor id. 52h - ascii ? r ? character. default read-only data 4352h. 6.1.32 vendor id2 (index 7eh) t[7:0] third character of vendor id. 59h - ascii ? y ? character. pid[3:0] part id. see table 9 below. rid[2:0] revision id default read-only data 592bh. the two vendor id registers provide a means to determine the manufacturer of the ac ? 97 codec. the first three bytes of the id registers contain the ascii code for the first 3 letters of crystal (cry). the final byte of the vendor id2 register is divided into a part id field and a revision field. table 9 lists the part id ? s defined to date. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 f7 f6 f5 f4 f3 f2 f1 f0 s7 s6 s5 s4 s3 s2 s1 s0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 t7 t6 t5 t4 t3 t2 t1 t0 0 pid2 pid1 pid0 1 rid2 rid1 rid0 pid3-pid0 d3 part name 000 cs4297 001 cs4297a 010 0 cs4298 010 1 cs4294 011 cs4299 table 9. reg. 7eh defined part id ? s
cs4294 30 ds326pp4 7. analog hardware description the analog hardware consist of three line-level ste- reo inputs, one mono microphone input, and dual, independent stereo line outputs. this section de- scribes the analog hardware needed to interface with these pins. 7.1 line-level inputs the analog inputs consist of three stereo analog in- puts and one mono input. as shown in figure 8, the input to the adcs comes from the input mux which selects one of the following: mic1 (mono), cd, aux, line in, stereo input mix, or the mono input mix (mono). unused analog inputs should be connected together and then connected through a capacitor to analog ground or tied to the vrefout line directly. the analog input mixer is designed to accommo- date four stereo inputs and one mono input. these inputs are: a stereo line-level input (line), a mono microphone input (mic), a stereo cd-rom input (cd), a stereo auxiliary line-level input (aux), and the pcm output from the dacs (if the pop bit is cleared). each of the stereo inputs has separate volume controls for each channel and one mute control for each left/right pair. the mono micro- phone input has one mute and one volume control. the inputs to the output mixer are: the input mixer output, the stereo enhanced mix, and the dac out- put (if the pop bit is set). all analog inputs to the cs4294, including cd_gnd, should be capacitively coupled to the input pins. since many analog levels can be as large as 2v rms , the circuit shown in figure 10 can be used to attenuate the analog input by 6 db (to 1 v rms) which is the maximum voltage allowed for all the stereo line-level inputs: line_in and aux_in. the cd line-level inputs have an extra pin, cd_gnd, which provides a pseudo-differential input for both cd_l and cd_r. this pin takes the common-mode noise out of the cd inputs when connected to the ground coming from the cd ana- log source. connecting the cd pins as shown in figure 11 provides extra attenuation of common mode noise coming from the cdrom drive, there- by producing a higher quality signal. one percent resistors are recommended since the better the re- sistors match, the better the common-mode attenu- ation of unwanted signals. if cd is not used, the inputs should be connected through ac capacitors to analog ground or connected to vrefout. 7.2 microphone level inputs the microphone level inputs include a selectable - 34.5 db to +12 db gain stage for interfacing to an external microphone. an additional 20 db gain block is also available. figure 12 illustrates a sin- gle-ended microphone input buffer circuit that will support lower gain mics. the circuit in figure 12 supports dynamic mics and phantom-powered mics that use the right channel (ring) of the jack for pow- er. 6.8 k ? 6.8 k ? 1.0 f 1.0 f r l 6.8 k ? 6.8 k ? figure 10. line inputs figure 11. differential cdrom in 6.8 k ? 6.8 k ? 1.0 f 1.0 f cd_l cd_r 6.8 k ? 6.8 k ? 3.4 k ? cd_gnd 2.0 f 3.4 k ? (all resistors 1%) cdrom in
cs4294 ds326pp4 31 7.3 line level outputs the analog output section provides a stereo line- level output and an alternate stereo line-level out- put. line_out_l, line_out_r, alt_line_out_l, and alt_line_out_r outputs should be capacitively coupled to external circuitry. each of the 4 analog outputs, if used in the design, require 680 pf or larger npo dielectric capacitors between the corresponding pin and agnd. each analog output is dc biased up to the vrefout volt- age signal reference which is nominally 2.2 v. this requires that the output either be ac coupled to ex- ternal circuitry (ac load must be greater than 10 k ? ) or dc coupled to a buffer op-amp biased at the vrefout voltage (see figure 13 for the recommend- ed headphone op-amp circuit). 7.4 miscellaneous analog signals the afilt1 and afilt2 pins must have a 1000 pf npo capacitor (must not be smaller than 390 pf) to analog ground. these capacitors, along with an internal resistor, provide a single-pole low- pass filter at the inputs to the adcs. by placing these filters at the input to the adcs, low-pass fil- ters at each analog input pin are not necessary. the refflt pin lowers the noise of the internal voltage reference. a 1 f (must not be greater than 1 f) and 0.1 f capacitor to analog ground should be connected with a short, wide trace to this pin. no other connection should be made, as any coupling onto this pin will degrade the analog performance of the codec. likewise, digital signals should be kept away from refflt for similar reasons. the vrefout pin is typically 2.2 v and provides a common mode signal for single-supply external circuits. vrefout only supports light dc loads and should be buffered if ac loading is needed. for typical use, a 0.1 f in parallel with a 1 f capaci- tor should be connected to vrefout. agnd 4 8 +5 va 100 k ? 1 2 5 3 4 2.7 k ? cgnd 220 pf 220 pf 68 k ? agnd 0.068 f x7r agnd + - agnd 4 1 8 +5 va u1a mc33078d 3 2 47 k ? 10 f agnd 2 1 + 47 k ? agnd +5 va 47 k ? + - 6.8 k ? 10 f agnd 2 1 + 6 5 220 pf 47 k ? u1b mc33078d 1 f x7r 7 mic1 figure 12. pc ? 99 microphone pre-amplifier
cs4294 32 ds326pp4 7.5 power supplies the power supplies providing analog power should be as clean as possible to minimize coupling into the analog section which could degrade analog per- formance. the pins avdd1 and avdd2 supply power to all the analog circuitry on the cs4294. this 5 volt analog supply should be generated from a voltage regulator (7805 type) connected to a +12 volt supply. this helps isolate the analog cir- cuitry from noise typically found on +5 v digital supplies which power many digital circuits in a pc environment. a typical voltage regulator circuit for analog power using an mc78m05cdt is shown in figure 14. the digital power pins dvdd1 and dvdd2 should be connected to the same digital supply as the ac ? 97 controller ? s ac-link interface. since the digi- tal interface on the cs4294 may operate at either 3.3 v or 5 v, proper connection of these pins will depend on the digital power supply of the ac ? 97 controller. connections (vias). the ac-link digi- tal interface connection traces should be routed such that digital ground plane lies underneath these signals (on the internal ground layer) from the ac ? 97 controller continuously to the cs4294. figure 13. headphones driver agnd agnd agnd 1/4 watt 1/4 watt hp_out_r alt_line_out_l hp_out_l vrefout alt_line_out_r 22pf npo 39k ? 4 1 2 3 22pf npo tda1308 + - 5 6 7 27k ? 4 1 2 3 tda1308 + - 3 2 1 220 f elec + 47k ? 4 1 2 3 elec + 680pf npo 680pf npo 0.1 f y5v 1.0 f y5v 220 f 10 ? 10 ? +12vd agnd dgnd +5va 0.1f y5v 10f elec + 10f elec + mc78m05cdt out 3 gnd 2 in 1 0.1f y5v figure 14. voltage regulator
cs4294 ds326pp4 33 8. pin descriptions 8.1 digital i/o pins reset# - ac ? 97 chip reset, input this active low signal is the asynchronous cold reset input to the cs4294. the cs4294 must be reset before it can enter normal operating mode. when the pr4 bit of register 26h is set, the reset# rising edge will be used as an ac ? 97 2.1 warm reset only, preserving register values. sync - ac-link serial port sync pulse, input this signal is the serial port timing signal for the ac-link of the cs4294. its period is the reciprocal of the sample rate of the cs4294, 48 khz. this signal is generated by the ac ? 97 controller and is synchronous to bit_clk. sync is also an asynchronous input when the cs4294 is in a pr4 powerdown state and is configured as a primary codec. a series terminating resistor of 47 ? should be connected on this signal close to the device driving the signal. 6 2 4 8 10 1 3 5 7 9 11 12 13 14 15 16 17 18 19 20 21 22 23 24 31 35 33 29 27 36 34 32 30 28 26 25 48 47 46 45 44 43 42 41 40 39 38 37 av s s 3 bcm# aux_l aux_r cd_l cd_gnd cd_r mic1 line_in_l line_in_r avd d 1 avs s1 refflt av s s 4 avd d4 av s s 5 flt3d flti flto gpio8 gpio7 gpio6 gpio5 gpio4 vrefout avdd3 avdd2 avss2 dvss1 dvss2 dvdd1 gpio3 xtl_out xtl_in sdata_out bit_clk sdata_in dvdd2 sync reset# id0# alt_line_out_r alt_line_out_l line_out_r line_out_l id1# aflt2 aflt1 cs4294-xq 48-pin tqfp
cs4294 34 ds326pp4 bit_clk - ac-link serial port master clock, input/output this input/output signal controls the master clock timing for the ac-link. in codec primary mode, this signal is an output 12.288 mhz clock signal which is divided down by two from the xtl_in input clock pin. in codec secondary mode, this signal is an input which controls the ac-link serial interface. in bit_clk mode, this signal generates all internal clocking including the ac-link serial interface timing. a series terminating resistor of 47 ? should be connected on this signal close to the cs4294 in primary mode or close to the bit_clk source if in secondary mode. sdata_out - ac-link serial data input stream to ac ? 97, input this input signal transmits the control information and digital audio output streams to be sent to the dacs. the data is clocked into the cs4294 on the falling edge of bit_clk. a series terminating resistor of 47 ? should be connected on this signal close to the device driving the input. sdata_in - ac-link serial data output stream from ac ? 97, output this output signal transmits the status information and digital audio input streams from the adcs. the data is clocked out of the cs4294 on the rising edge of bit_clk. a series terminating resistor of 47 ? should be connected on this signal as close to the cs4294 as possible. xtl_in - crystal input this pin accepts either a crystal, with the other pin attached to xtl_out, or an external cmos clock. xtl_in must have a crystal or clock source attached for proper operation except when operating in bit_clk mode. the crystal frequency must be 24.576 mhz and designed for fundamental mode, parallel resonance operation. xtl_out - crystal output this pin is used for a crystal placed between this pin and xlt_in. if an external clock is used on xtl_in or the codec is in bit_clk mode, this pin must be left floating with no traces or components connected to it. id1#, id0# - codec id, inputs these pins select the codec id and mode of operation for the cs4294. they are sampled after the rising edge of reset# and not used after. these inputs have internal 100 k ? pull-ups and should be left floating for a logic 0 or tied to analog ground for a logic 1. the pins utilize inverted logic, so the condition of both pins floating sets the codec to primary mode while any other combination sets the codec to a secondary mode. in primary mode, the codec is always clocked from an external crystal or an external oscillator connected to the xtl_in and/or xtl_out pins with bit_clk as an output. in secondary mode, the clocking mechanism is determined by the state of the bcm# pin with bit_clk always being an input.
cs4294 ds326pp4 35 bcm# - bit_clk mode, input this pin selects the secondary mode clocking mechanism. bcm# is sampled after the rising edge of reset# and not used after. in codec secondary mode (id1# and or id0# grounded), grounding this input will select bit_clk mode. in this mode, bit_clk is defined as an input and all internal timing will be derived from the bit_clk signal and no connections should be made to xtal_in and xtal_out. when bcm# is floating, all timing will be derived from the xtal_in pin. in this case, xtal_in must be synchronous to bit_clk. in primary mode, bcm# must be left floating. gpio[8:3] - general purpose input/output these gpio pins are used to control discrete digital functions. when a gpio pin is configured as an input, it behaves as a schmitt trigger input with 350 mv of hysteresis at 5 v and 220 mv of hysteresis at 3.3 v. when a gpio pin in configured as an output, it may function as a normal cmos output (4 ma drive) or as an open drain output. gpio pins power up in the high impedance state (tri-state). 8.2 analog i/o pins mic1 - analog mono source, input this analog input is a monophonic source to the analog output mixer. it is intended to be used as a desktop microphone connection to the audio subsystem. the maximum allowable input is 1v rms (sinusoidal). if the 20 db internal boost is enabled, the maximum allowable input is 100 mv rms (sinusoidal). this input is internally biased at the vrefout voltage reference and requires ac coupling to external circuitry. if this input is not used, it should be ac coupled to analog ground. line_in_l and line_in_r- analog line source, inputs these inputs form a stereo input pair to the cs4294. the maximum allowable input is 1v rms (sinusoidal). these inputs are internally biased at the vrefout voltage reference. ac coupling to external circuitry is required. if these inputs are not used, they should both be connected to the vrefout pin or both ac coupled, with separate ac coupling caps, to analog ground. cd_l and cd_r - analog cd source, inputs these inputs form a stereo input pair to the cs4294. it is intended to be used for the red book cd audio connection to the audio subsystem. the maximum allowable input is 1 v rms (sinusoidal). these inputs are internally biased at the vrefout voltage reference. ac coupling to external circuitry is required. if these inputs are not used, they should both be connected to the vrefout pin or both ac coupled, with separate ac coupling caps, to analog ground. cd_gnd - analog cd common source, input this analog input is used to remove common mode noise from red book cd audio signals. the impedance on the input signal path should be one half the impedance on the cd_l and cd_r input paths. this pin requires ac coupling to external circuitry. if this input is not used, it should be connected to the vrefout pin or ac coupled to analog ground.
cs4294 36 ds326pp4 aux_l and aux_r - analog auxiliary source, inputs these inputs form a stereo input pair to the cs4294. the maximum allowable input is 1 v rms (sinusoidal). these inputs are internally biased at the vrefout voltage reference. ac coupling to external circuitry is required. if these inputs are not used, they should both be connected to the vrefout pin or both ac coupled, with separate ac coupling caps, to analog ground. line_out_l and line_out_r - analog line level outputs these signals are analog outputs from the stereo output mixer. the full scale output voltage for output is nominally 1 v rms and is internally biased at the vrefout voltage reference. it is required to either ac couple these pins to external circuitry or dc couple them to a buffer op- amp biased at the vrefout voltage. these pins need a 680 pf to 1000 pf npo capacitor attached to analog ground. alt_line_out_l and alt_line_out_r - analog alternate line level outputs these signals are analog outputs from the stereo output mixer. the full scale output voltage for each output is nominally 1 v rms and is internally biased at the vrefout voltage reference. it is required to either ac couple these pins to external circuitry or dc couple them to a buffer op- amp biased at the vrefout voltage. these pins need a 680 pf to 1000 pf npo capacitor attached to analog ground. 8.3 filter and reference pins refflt - internal reference voltage, input this is the voltage reference used internal to the part. a 0.1 f and a 1 f (must not be larger than 1 f) capacitor with short, wide traces must be connected to this pin. no other connections should be made to this pin. vrefout - voltage reference, output all analog inputs and outputs are centered around vrefout which is nominally 2.2 volts. this pin may be used to level shift external circuitry, however any external loading should be buffered. aflt1 - left channel antialiasing filter input this pin needs a 1000 pf npo capacitor attached to analog ground. aflt2 - right channel antialiasing filter input this pin needs a 1000 pf npo capacitor attached to analog ground. flti - enhanced stereo filter input a 1000 pf capacitor must be attached between this pin and flto if the stereo enhancement function is used. flto - enhanced stereo filter output a 1000 pf capacitor must be attached between this pin and flti if the stereo enhancement function is used.
cs4294 ds326pp4 37 flt3d - enhanced stereo filter a 0.01 f capacitor must be attached from this pin to agnd if the enhanced stereo function is used. 8.4 power supplies dvdd1, dvdd2 - digital supply voltage these pins provide the digital supply voltage for the ac-link section of the cs4294. these pins may be tied to +5 v digital or to +3.3 v digital. the cs4294 and digital controller ? s ac-link should share a common digital supply. dvss1, dvss2 - digital ground these pins are the digital ground connection for the ac-link section of the cs4294. these pins should be isolated from analog ground currents. avdd1, avdd2, avdd3, avdd4 - analog supply voltage these pins provide the analog supply voltage for the analog and mixed signal sections of the cs4294. these pins must be tied to +5 v analog supply. it is strongly recommended that +5 v be generated from a voltage regulator to ensure proper supply currents and noise immunity from the rest of the system. avss1, avss2, avss3, avss4, avss5 - analog ground these pins are the ground connection for the analog, mixed signal, and substrate sections of the cs4294. these pins should be isolated from digital ground currents.
cs4294 38 ds326pp4 9. parameter and term definitions ac ? 97 specification refers to the audio codec ? 97 component specification ver 2.1 published by intel ? corporation []. ac ? 97 controller or controller refers to the control chip which interfaces to the codec ? s ac-link. this has been also called dc ? 97 for digital controller ? 97 []. ac ? 97 registers or codec registers refers to the 64-field register map defined in the ac ? 97 specification. adc refers to a single analog-to-digital converter in the codec. ? adcs ? refers to the stereo pair of analog-to-digital converters. dac a single digital-to-analog converter in the codec ? dacs ? refers to the stereo pair of digital- to-analog converters. src sample rate converter. converts data derived at one sample rate to a differing sample rate. codec refers to the chip containing the adcs, dacs, and analog mixer. in this data sheet, the codec is the cs4297a9. fft fast fourier transform. resolution the number of bits in the output words to the dacs, and in the input words to the adcs. differential nonlinearity the worst case deviation from the ideal code width. units in lsb. db fs a db fs is defined as db relative to full-scale. the ? a ? indicates an a weighting filter was used.
cs4294 ds326pp4 39 frequency response (fr) fr is the deviation in signal level verses frequency. the 0 db reference point is 1 khz. the amplitude corner, ac, lists the maximum deviation in amplitude above and below the 1 khz reference point. the listed minimum and maximum frequencies are guaranteed to be within the ac from minimum frequency to maximum frequency inclusive. dynamic range (dr) dr is the ratio of the rms full-scale signal level divided by the rms sum of the noise floor, in the presence of a signal, available at any instant in time (no change in gain settings between measurements). measured over a 20 hz to 20 khz bandwidth with units in db fs a. total harmonic distortion plus noise (thd+n) thd+n is the ratio of the rms sum of all non-fundamental frequency components, divided by the rms full-scale signal level. it is tested using a -3 db fs input signal and is measured over a 20 hz to 20 khz bandwidth with units in db fs. signal to noise ratio (snr) snr, similar to dr, is the ratio of an arbitrary sinusoidal input signal to the rms sum of the noise floor, in the presence of a signal. it is measured over a 20 hz to 20 khz bandwidth with units in db. interchannel isolation the amount of 1 khz signal present on the output of the grounded ac-coupled line input channel with 1 khz, 0 db, signal present on the other line input channel. units in db. interchannel gain mismatch for the adcs, the difference in input voltage to get an equal code on both channels. for the dacs, the difference in output voltages for each channel when both channels are fed the same code. units in db. paths a-d: analog in, through the adc, onto the serial link. d-a: serial interface inputs through the dac to the analog output. a-a: analog in to analog out (analog mixer). 10. references intel, audio codec ? 97 component specification , revision 2.1, may 22,1998. http://developer.intel.com/pc-supp /platform/ac97 /
cs4294 40 ds326pp4 11. package dimensions inches millimeters dim min nom max min nom max a --- 0.055 0.063 --- 1.40 1.60 a1 0.002 0.004 0.006 0.05 0.10 0.15 b 0.007 0.002 0.011 0.17 0.20 0.27 d 0.343 0.354 0.366 8.70 9.0 bsc 9.30 d1 0.272 0.28 0.280 6.90 7.0 bsc 7.10 e 0.343 0.354 0.366 8.70 9.0 bsc 9.30 e1 0.272 0.28 0.280 6.90 7.0 bsc 7.10 e* 0.016 0.020 0.024 0.40 0.50 bsc 0.60 l 0.018 0.24 0.030 0.45 0.60 0.75 0.000 4 7.000 0.00 4 7.00 * nominal pin pitch is 0.50 mm controlling dimension is mm. jedec designation: ms026 48l lqfp package drawing e1 e d1 d 1 e l b a1 a
? notes ?


▲Up To Search▲   

 
Price & Availability of CS4294-JQ

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X